package com.rfsp.common.base;

import java.util.List;

public interface IBaseService<T> {
	
	T get(Long id) ;
	
	int save(T entity) ;
	
	int update(T entity) ;
	
	int remove(Long id) ;
	
	int saveOrUpdate(T entity) ;
	
	List<T> queryAll();

}
